home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: Alpha / Whiteline Alpha.iso / progtool / c / gcc / gcc258s.zoo / gcc.info-1 < prev    next >
Encoding:
GNU Info File  |  1993-11-30  |  48.8 KB  |  1,119 lines

  1. This is Info file gcc.info, produced by Makeinfo-1.54 from the input
  2. file gcc.texi.
  3.  
  4.    This file documents the use and the internals of the GNU compiler.
  5.  
  6.    Published by the Free Software Foundation 675 Massachusetts Avenue
  7. Cambridge, MA 02139 USA
  8.  
  9.    Copyright (C) 1988, 1989, 1992, 1993 Free Software Foundation, Inc.
  10.  
  11.    Permission is granted to make and distribute verbatim copies of this
  12. manual provided the copyright notice and this permission notice are
  13. preserved on all copies.
  14.  
  15.    Permission is granted to copy and distribute modified versions of
  16. this manual under the conditions for verbatim copying, provided also
  17. that the sections entitled "GNU General Public License" and "Protect
  18. Your Freedom--Fight `Look And Feel'" are included exactly as in the
  19. original, and provided that the entire resulting derived work is
  20. distributed under the terms of a permission notice identical to this
  21. one.
  22.  
  23.    Permission is granted to copy and distribute translations of this
  24. manual into another language, under the above conditions for modified
  25. versions, except that the sections entitled "GNU General Public
  26. License" and "Protect Your Freedom--Fight `Look And Feel'", and this
  27. permission notice, may be included in translations approved by the Free
  28. Software Foundation instead of in the original English.
  29.  
  30. File: gcc.info,  Node: Top,  Next: Copying,  Up: (DIR)
  31.  
  32. Introduction
  33. ************
  34.  
  35.    This manual documents how to run, install and port the GNU compiler,
  36. as well as its new features and incompatibilities, and how to report
  37. bugs.  It corresponds to GNU CC version 2.5.
  38.  
  39. * Menu:
  40.  
  41. * Copying::         GNU General Public License says
  42.                      how you can copy and share GNU CC.
  43. * Contributors::    People who have contributed to GNU CC.
  44. * Boycott::        Protect your freedom--fight "look and feel".
  45.  
  46. * G++ and GCC::     You can compile C or C++ programs.
  47. * Invoking GCC::    Command options supported by `gcc'.
  48. * Installation::    How to configure, compile and install GNU CC.
  49. * C Extensions::    GNU extensions to the C language family.
  50. * C++ Extensions::  GNU extensions to the C++ language.
  51. * Trouble::         If you have trouble installing GNU CC.
  52. * Bugs::            How, why and where to report bugs.
  53. * Service::         How to find suppliers of support for GNU CC.
  54. * VMS::             Using GNU CC on VMS.
  55.  
  56. * Portability::     Goals of GNU CC's portability features.
  57. * Interface::       Function-call interface of GNU CC output.
  58. * Passes::          Order of passes, what they do, and what each file is for.
  59. * RTL::             The intermediate representation that most passes work on.
  60. * Machine Desc::    How to write machine description instruction patterns.
  61. * Target Macros::   How to write the machine description C macros.
  62. * Config::          Writing the `xm-MACHINE.h' file.
  63.  
  64. * Index::        Index of concepts and symbol names.
  65.  
  66. File: gcc.info,  Node: Copying,  Next: Contributors,  Prev: Top,  Up: Top
  67.  
  68. GNU GENERAL PUBLIC LICENSE
  69. **************************
  70.  
  71.                          Version 2, June 1991
  72.  
  73.      Copyright (C) 1989, 1991 Free Software Foundation, Inc.
  74.      675 Mass Ave, Cambridge, MA 02139, USA
  75.      
  76.      Everyone is permitted to copy and distribute verbatim copies
  77.      of this license document, but changing it is not allowed.
  78.  
  79. Preamble
  80. ========
  81.  
  82.    The licenses for most software are designed to take away your
  83. freedom to share and change it.  By contrast, the GNU General Public
  84. License is intended to guarantee your freedom to share and change free
  85. software--to make sure the software is free for all its users.  This
  86. General Public License applies to most of the Free Software
  87. Foundation's software and to any other program whose authors commit to
  88. using it.  (Some other Free Software Foundation software is covered by
  89. the GNU Library General Public License instead.)  You can apply it to
  90. your programs, too.
  91.  
  92.    When we speak of free software, we are referring to freedom, not
  93. price.  Our General Public Licenses are designed to make sure that you
  94. have the freedom to distribute copies of free software (and charge for
  95. this service if you wish), that you receive source code or can get it
  96. if you want it, that you can change the software or use pieces of it in
  97. new free programs; and that you know you can do these things.
  98.  
  99.    To protect your rights, we need to make restrictions that forbid
  100. anyone to deny you these rights or to ask you to surrender the rights.
  101. These restrictions translate to certain responsibilities for you if you
  102. distribute copies of the software, or if you modify it.
  103.  
  104.    For example, if you distribute copies of such a program, whether
  105. gratis or for a fee, you must give the recipients all the rights that
  106. you have.  You must make sure that they, too, receive or can get the
  107. source code.  And you must show them these terms so they know their
  108. rights.
  109.  
  110.    We protect your rights with two steps: (1) copyright the software,
  111. and (2) offer you this license which gives you legal permission to copy,
  112. distribute and/or modify the software.
  113.  
  114.    Also, for each author's protection and ours, we want to make certain
  115. that everyone understands that there is no warranty for this free
  116. software.  If the software is modified by someone else and passed on, we
  117. want its recipients to know that what they have is not the original, so
  118. that any problems introduced by others will not reflect on the original
  119. authors' reputations.
  120.  
  121.    Finally, any free program is threatened constantly by software
  122. patents.  We wish to avoid the danger that redistributors of a free
  123. program will individually obtain patent licenses, in effect making the
  124. program proprietary.  To prevent this, we have made it clear that any
  125. patent must be licensed for everyone's free use or not licensed at all.
  126.  
  127.    The precise terms and conditions for copying, distribution and
  128. modification follow.
  129.  
  130.     TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  131.  
  132.   0. This License applies to any program or other work which contains a
  133.      notice placed by the copyright holder saying it may be distributed
  134.      under the terms of this General Public License.  The "Program",
  135.      below, refers to any such program or work, and a "work based on
  136.      the Program" means either the Program or any derivative work under
  137.      copyright law: that is to say, a work containing the Program or a
  138.      portion of it, either verbatim or with modifications and/or
  139.      translated into another language.  (Hereinafter, translation is
  140.      included without limitation in the term "modification".)  Each
  141.      licensee is addressed as "you".
  142.  
  143.      Activities other than copying, distribution and modification are
  144.      not covered by this License; they are outside its scope.  The act
  145.      of running the Program is not restricted, and the output from the
  146.      Program is covered only if its contents constitute a work based on
  147.      the Program (independent of having been made by running the
  148.      Program).  Whether that is true depends on what the Program does.
  149.  
  150.   1. You may copy and distribute verbatim copies of the Program's
  151.      source code as you receive it, in any medium, provided that you
  152.      conspicuously and appropriately publish on each copy an appropriate
  153.      copyright notice and disclaimer of warranty; keep intact all the
  154.      notices that refer to this License and to the absence of any
  155.      warranty; and give any other recipients of the Program a copy of
  156.      this License along with the Program.
  157.  
  158.      You may charge a fee for the physical act of transferring a copy,
  159.      and you may at your option offer warranty protection in exchange
  160.      for a fee.
  161.  
  162.   2. You may modify your copy or copies of the Program or any portion
  163.      of it, thus forming a work based on the Program, and copy and
  164.      distribute such modifications or work under the terms of Section 1
  165.      above, provided that you also meet all of these conditions:
  166.  
  167.        a. You must cause the modified files to carry prominent notices
  168.           stating that you changed the files and the date of any change.
  169.  
  170.        b. You must cause any work that you distribute or publish, that
  171.           in whole or in part contains or is derived from the Program
  172.           or any part thereof, to be licensed as a whole at no charge
  173.           to all third parties under the terms of this License.
  174.  
  175.        c. If the modified program normally reads commands interactively
  176.           when run, you must cause it, when started running for such
  177.           interactive use in the most ordinary way, to print or display
  178.           an announcement including an appropriate copyright notice and
  179.           a notice that there is no warranty (or else, saying that you
  180.           provide a warranty) and that users may redistribute the
  181.           program under these conditions, and telling the user how to
  182.           view a copy of this License.  (Exception: if the Program
  183.           itself is interactive but does not normally print such an
  184.           announcement, your work based on the Program is not required
  185.           to print an announcement.)
  186.  
  187.      These requirements apply to the modified work as a whole.  If
  188.      identifiable sections of that work are not derived from the
  189.      Program, and can be reasonably considered independent and separate
  190.      works in themselves, then this License, and its terms, do not
  191.      apply to those sections when you distribute them as separate
  192.      works.  But when you distribute the same sections as part of a
  193.      whole which is a work based on the Program, the distribution of
  194.      the whole must be on the terms of this License, whose permissions
  195.      for other licensees extend to the entire whole, and thus to each
  196.      and every part regardless of who wrote it.
  197.  
  198.      Thus, it is not the intent of this section to claim rights or
  199.      contest your rights to work written entirely by you; rather, the
  200.      intent is to exercise the right to control the distribution of
  201.      derivative or collective works based on the Program.
  202.  
  203.      In addition, mere aggregation of another work not based on the
  204.      Program with the Program (or with a work based on the Program) on
  205.      a volume of a storage or distribution medium does not bring the
  206.      other work under the scope of this License.
  207.  
  208.   3. You may copy and distribute the Program (or a work based on it,
  209.      under Section 2) in object code or executable form under the terms
  210.      of Sections 1 and 2 above provided that you also do one of the
  211.      following:
  212.  
  213.        a. Accompany it with the complete corresponding machine-readable
  214.           source code, which must be distributed under the terms of
  215.           Sections 1 and 2 above on a medium customarily used for
  216.           software interchange; or,
  217.  
  218.        b. Accompany it with a written offer, valid for at least three
  219.           years, to give any third party, for a charge no more than your
  220.           cost of physically performing source distribution, a complete
  221.           machine-readable copy of the corresponding source code, to be
  222.           distributed under the terms of Sections 1 and 2 above on a
  223.           medium customarily used for software interchange; or,
  224.  
  225.        c. Accompany it with the information you received as to the offer
  226.           to distribute corresponding source code.  (This alternative is
  227.           allowed only for noncommercial distribution and only if you
  228.           received the program in object code or executable form with
  229.           such an offer, in accord with Subsection b above.)
  230.  
  231.      The source code for a work means the preferred form of the work for
  232.      making modifications to it.  For an executable work, complete
  233.      source code means all the source code for all modules it contains,
  234.      plus any associated interface definition files, plus the scripts
  235.      used to control compilation and installation of the executable.
  236.      However, as a special exception, the source code distributed need
  237.      not include anything that is normally distributed (in either
  238.      source or binary form) with the major components (compiler,
  239.      kernel, and so on) of the operating system on which the executable
  240.      runs, unless that component itself accompanies the executable.
  241.  
  242.      If distribution of executable or object code is made by offering
  243.      access to copy from a designated place, then offering equivalent
  244.      access to copy the source code from the same place counts as
  245.      distribution of the source code, even though third parties are not
  246.      compelled to copy the source along with the object code.
  247.  
  248.   4. You may not copy, modify, sublicense, or distribute the Program
  249.      except as expressly provided under this License.  Any attempt
  250.      otherwise to copy, modify, sublicense or distribute the Program is
  251.      void, and will automatically terminate your rights under this
  252.      License.  However, parties who have received copies, or rights,
  253.      from you under this License will not have their licenses
  254.      terminated so long as such parties remain in full compliance.
  255.  
  256.   5. You are not required to accept this License, since you have not
  257.      signed it.  However, nothing else grants you permission to modify
  258.      or distribute the Program or its derivative works.  These actions
  259.      are prohibited by law if you do not accept this License.
  260.      Therefore, by modifying or distributing the Program (or any work
  261.      based on the Program), you indicate your acceptance of this
  262.      License to do so, and all its terms and conditions for copying,
  263.      distributing or modifying the Program or works based on it.
  264.  
  265.   6. Each time you redistribute the Program (or any work based on the
  266.      Program), the recipient automatically receives a license from the
  267.      original licensor to copy, distribute or modify the Program
  268.      subject to these terms and conditions.  You may not impose any
  269.      further restrictions on the recipients' exercise of the rights
  270.      granted herein.  You are not responsible for enforcing compliance
  271.      by third parties to this License.
  272.  
  273.   7. If, as a consequence of a court judgment or allegation of patent
  274.      infringement or for any other reason (not limited to patent
  275.      issues), conditions are imposed on you (whether by court order,
  276.      agreement or otherwise) that contradict the conditions of this
  277.      License, they do not excuse you from the conditions of this
  278.      License.  If you cannot distribute so as to satisfy simultaneously
  279.      your obligations under this License and any other pertinent
  280.      obligations, then as a consequence you may not distribute the
  281.      Program at all.  For example, if a patent license would not permit
  282.      royalty-free redistribution of the Program by all those who
  283.      receive copies directly or indirectly through you, then the only
  284.      way you could satisfy both it and this License would be to refrain
  285.      entirely from distribution of the Program.
  286.  
  287.      If any portion of this section is held invalid or unenforceable
  288.      under any particular circumstance, the balance of the section is
  289.      intended to apply and the section as a whole is intended to apply
  290.      in other circumstances.
  291.  
  292.      It is not the purpose of this section to induce you to infringe any
  293.      patents or other property right claims or to contest validity of
  294.      any such claims; this section has the sole purpose of protecting
  295.      the integrity of the free software distribution system, which is
  296.      implemented by public license practices.  Many people have made
  297.      generous contributions to the wide range of software distributed
  298.      through that system in reliance on consistent application of that
  299.      system; it is up to the author/donor to decide if he or she is
  300.      willing to distribute software through any other system and a
  301.      licensee cannot impose that choice.
  302.  
  303.      This section is intended to make thoroughly clear what is believed
  304.      to be a consequence of the rest of this License.
  305.  
  306.   8. If the distribution and/or use of the Program is restricted in
  307.      certain countries either by patents or by copyrighted interfaces,
  308.      the original copyright holder who places the Program under this
  309.      License may add an explicit geographical distribution limitation
  310.      excluding those countries, so that distribution is permitted only
  311.      in or among countries not thus excluded.  In such case, this
  312.      License incorporates the limitation as if written in the body of
  313.      this License.
  314.  
  315.   9. The Free Software Foundation may publish revised and/or new
  316.      versions of the General Public License from time to time.  Such
  317.      new versions will be similar in spirit to the present version, but
  318.      may differ in detail to address new problems or concerns.
  319.  
  320.      Each version is given a distinguishing version number.  If the
  321.      Program specifies a version number of this License which applies
  322.      to it and "any later version", you have the option of following
  323.      the terms and conditions either of that version or of any later
  324.      version published by the Free Software Foundation.  If the Program
  325.      does not specify a version number of this License, you may choose
  326.      any version ever published by the Free Software Foundation.
  327.  
  328.  10. If you wish to incorporate parts of the Program into other free
  329.      programs whose distribution conditions are different, write to the
  330.      author to ask for permission.  For software which is copyrighted
  331.      by the Free Software Foundation, write to the Free Software
  332.      Foundation; we sometimes make exceptions for this.  Our decision
  333.      will be guided by the two goals of preserving the free status of
  334.      all derivatives of our free software and of promoting the sharing
  335.      and reuse of software generally.
  336.  
  337.                                 NO WARRANTY
  338.  
  339.  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
  340.      WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
  341.      LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
  342.      HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
  343.      WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT
  344.      NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  345.      FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS TO THE
  346.      QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
  347.      PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
  348.      SERVICING, REPAIR OR CORRECTION.
  349.  
  350.  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
  351.      WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY
  352.      MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE
  353.      LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
  354.      INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
  355.      INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
  356.      DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU
  357.      OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY
  358.      OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN
  359.      ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  360.  
  361.                       END OF TERMS AND CONDITIONS
  362.  
  363. How to Apply These Terms to Your New Programs
  364. =============================================
  365.  
  366.    If you develop a new program, and you want it to be of the greatest
  367. possible use to the public, the best way to achieve this is to make it
  368. free software which everyone can redistribute and change under these
  369. terms.
  370.  
  371.    To do so, attach the following notices to the program.  It is safest
  372. to attach them to the start of each source file to most effectively
  373. convey the exclusion of warranty; and each file should have at least
  374. the "copyright" line and a pointer to where the full notice is found.
  375.  
  376.      ONE LINE TO GIVE THE PROGRAM'S NAME AND A BRIEF IDEA OF WHAT IT DOES.
  377.      Copyright (C) 19YY  NAME OF AUTHOR
  378.      
  379.      This program is free software; you can redistribute it and/or modify
  380.      it under the terms of the GNU General Public License as published by
  381.      the Free Software Foundation; either version 2 of the License, or
  382.      (at your option) any later version.
  383.      
  384.      This program is distributed in the hope that it will be useful,
  385.      but WITHOUT ANY WARRANTY; without even the implied warranty of
  386.      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  387.      GNU General Public License for more details.
  388.      
  389.      You should have received a copy of the GNU General Public License
  390.      along with this program; if not, write to the Free Software
  391.      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  392.  
  393.    Also add information on how to contact you by electronic and paper
  394. mail.
  395.  
  396.    If the program is interactive, make it output a short notice like
  397. this when it starts in an interactive mode:
  398.  
  399.      Gnomovision version 69, Copyright (C) 19YY NAME OF AUTHOR
  400.      Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
  401.      type `show w'.
  402.      This is free software, and you are welcome to redistribute it
  403.      under certain conditions; type `show c' for details.
  404.  
  405.    The hypothetical commands `show w' and `show c' should show the
  406. appropriate parts of the General Public License.  Of course, the
  407. commands you use may be called something other than `show w' and `show
  408. c'; they could even be mouse-clicks or menu items--whatever suits your
  409. program.
  410.  
  411.    You should also get your employer (if you work as a programmer) or
  412. your school, if any, to sign a "copyright disclaimer" for the program,
  413. if necessary.  Here is a sample; alter the names:
  414.  
  415.      Yoyodyne, Inc., hereby disclaims all copyright interest in the program
  416.      `Gnomovision' (which makes passes at compilers) written by James Hacker.
  417.      
  418.      SIGNATURE OF TY COON, 1 April 1989
  419.      Ty Coon, President of Vice
  420.  
  421.    This General Public License does not permit incorporating your
  422. program into proprietary programs.  If your program is a subroutine
  423. library, you may consider it more useful to permit linking proprietary
  424. applications with the library.  If this is what you want to do, use the
  425. GNU Library General Public License instead of this License.
  426.  
  427. File: gcc.info,  Node: Contributors,  Next: Boycott,  Prev: Copying,  Up: Top
  428.  
  429. Contributors to GNU CC
  430. **********************
  431.  
  432.    In addition to Richard Stallman, several people have written parts
  433. of GNU CC.
  434.  
  435.    * The idea of using RTL and some of the optimization ideas came from
  436.      the program PO written at the University of Arizona by Jack
  437.      Davidson and Christopher Fraser.  See "Register Allocation and
  438.      Exhaustive Peephole Optimization", Software Practice and
  439.      Experience 14 (9), Sept. 1984, 857-866.
  440.  
  441.    * Paul Rubin wrote most of the preprocessor.
  442.  
  443.    * Leonard Tower wrote parts of the parser, RTL generator, and RTL
  444.      definitions, and of the Vax machine description.
  445.  
  446.    * Ted Lemon wrote parts of the RTL reader and printer.
  447.  
  448.    * Jim Wilson implemented loop strength reduction and some other loop
  449.      optimizations.
  450.  
  451.    * Nobuyuki Hikichi of Software Research Associates, Tokyo,
  452.      contributed the support for the Sony NEWS machine.
  453.  
  454.    * Charles LaBrec contributed the support for the Integrated Solutions
  455.      68020 system.
  456.  
  457.    * Michael Tiemann of Cygnus Support wrote the front end for C++, as
  458.      well as the support for inline functions and instruction
  459.      scheduling.  Also the descriptions of the National Semiconductor
  460.      32000 series cpu, the SPARC cpu and part of the Motorola 88000 cpu.
  461.  
  462.    * Jan Stein of the Chalmers Computer Society provided support for
  463.      Genix, as well as part of the 32000 machine description.
  464.  
  465.    * Randy Smith finished the Sun FPA support.
  466.  
  467.    * Robert Brown implemented the support for Encore 32000 systems.
  468.  
  469.    * David Kashtan of SRI adapted GNU CC to the Vomit-Making System
  470.      (VMS).
  471.  
  472.    * Alex Crain provided changes for the 3b1.
  473.  
  474.    * Greg Satz and Chris Hanson assisted in making GNU CC work on HP-UX
  475.      for the 9000 series 300.
  476.  
  477.    * William Schelter did most of the work on the Intel 80386 support.
  478.  
  479.    * Christopher Smith did the port for Convex machines.
  480.  
  481.    * Paul Petersen wrote the machine description for the Alliant FX/8.
  482.  
  483.    * Alain Lichnewsky ported GNU CC to the Mips cpu.
  484.  
  485.    * Devon Bowen, Dale Wiles and Kevin Zachmann ported GNU CC to the
  486.      Tahoe.
  487.  
  488.    * Jonathan Stone wrote the machine description for the Pyramid
  489.      computer.
  490.  
  491.    * Gary Miller ported GNU CC to Charles River Data Systems machines.
  492.  
  493.    * Richard Kenner of the New York University Ultracomputer Research
  494.      Laboratory wrote the machine descriptions for the AMD 29000, the
  495.      DEC Alpha, the IBM RT PC, and the IBM RS/6000 as well as the
  496.      support for instruction attributes.  He also made changes to
  497.      better support RISC processors including changes to common
  498.      subexpression elimination, strength reduction, function calling
  499.      sequence handling, and condition code support, in addition to
  500.      generalizing the code for frame pointer elimination.
  501.  
  502.    * Richard Kenner and Michael Tiemann jointly developed reorg.c, the
  503.      delay slot scheduler.
  504.  
  505.    * Mike Meissner and Tom Wood of Data General finished the port to the
  506.      Motorola 88000.
  507.  
  508.    * Masanobu Yuhara of Fujitsu Laboratories implemented the machine
  509.      description for the Tron architecture (specifically, the Gmicro).
  510.  
  511.    * NeXT, Inc. donated the front end that supports the Objective C
  512.      language.
  513.  
  514.    * James van Artsdalen wrote the code that makes efficient use of the
  515.      Intel 80387 register stack.
  516.  
  517.    * Mike Meissner at the Open Software Foundation finished the port to
  518.      the MIPS cpu, including adding ECOFF debug support.
  519.  
  520.    * Ron Guilmette implemented the `protoize' and `unprotoize' tools,
  521.      the support for Dwarf symbolic debugging information, and much of
  522.      the support for System V Release 4.  He has also worked heavily on
  523.      the Intel 386 and 860 support.
  524.  
  525.    * Torbjorn Granlund of the Swedish Institute of Computer Science
  526.      implemented multiply-by-constant optimization and better long long
  527.      support, and improved leaf function register allocation.
  528.  
  529.    * Mike Stump implemented the support for Elxsi 64 bit CPU.
  530.  
  531.    * John Wehle added the machine description for the Western Electric
  532.      32000 processor used in several 3b series machines (no relation to
  533.      the National Semiconductor 32000 processor).
  534.  
  535.    * Holger Teutsch provided the support for the Clipper cpu.
  536.  
  537.    * Kresten Krab Thorup wrote the run time support for the Objective C
  538.      language.
  539.  
  540.    * Stephen Moshier contributed the floating point emulator that
  541.      assists in cross-compilation and permits support for floating
  542.      point numbers wider than 64 bits.
  543.  
  544.    * David Edelsohn contributed the changes to RS/6000 port to make it
  545.      support the PowerPC and POWER2 architectures.
  546.  
  547.    * Steve Chamberlain wrote the support for the Hitachi SH processor.
  548.  
  549.    * Peter Schauer wrote the code to allow debugging to work on the
  550.      Alpha.
  551.  
  552. File: gcc.info,  Node: Boycott,  Next: G++ and GCC,  Prev: Contributors,  Up: Top
  553.  
  554. Protect Your Freedom--Fight "Look And Feel"
  555. *******************************************
  556.  
  557.      This section is a political message from the League for Programming
  558.      Freedom to the users of GNU CC.  It is included here as an
  559.      expression of support for the League on the part of the Free
  560.      Software Foundation.
  561.  
  562.    Apple and Lotus are trying to create a new form of legal monopoly: a
  563. copyright on a class of user interfaces.  These monopolies would cause
  564. serious problems for users and developers of computer software and
  565. systems.  Xerox, too, has tried to make a monopoly for itself on window
  566. systems; their suit against Apple was thrown out on a technicality, but
  567. Xerox has not said anything to indicate it wouldn't try again.
  568.  
  569.    Until a few years ago, the law seemed clear: no one could restrict
  570. others from using a user interface; programmers were free to implement
  571. any interface they chose.  Imitating interfaces, sometimes with changes,
  572. was standard practice in the computer field.  The interfaces we know
  573. evolved gradually in this way; for example, the Macintosh user interface
  574. drew ideas from the Xerox interface, which in turn drew on work done at
  575. Stanford and SRI.  1-2-3 imitated VisiCalc, and dBase imitated a
  576. database program from JPL.
  577.  
  578.    Most computer companies, and nearly all computer users, were happy
  579. with this state of affairs.  The companies that are suing say it does
  580. not offer "enough incentive" to develop their products, but they must
  581. have considered it "enough" when they made their decision to do so.  It
  582. seems they are not satisfied with the opportunity to continue to compete
  583. in the marketplace--not even with a head start.
  584.  
  585.    If companies like Xerox, Lotus, and Apple are permitted to make law
  586. through the courts, the precedent will hobble the software industry:
  587.  
  588.    * Gratuitous incompatibilities will burden users.  Imagine if each
  589.      car manufacturer had to arrange the pedals in a different order.
  590.  
  591.    * Software will become and remain more expensive.  Users will be
  592.      "locked in" to proprietary interfaces, for which there is no real
  593.      competition.
  594.  
  595.    * Large companies have an unfair advantage wherever lawsuits become
  596.      commonplace.  Since they can easily afford to sue, they can
  597.      intimidate small companies with threats even when they don't
  598.      really have a case.
  599.  
  600.    * User interface improvements will come slower, since incremental
  601.      evolution through creative imitation will no longer be permitted.
  602.  
  603.    * Even Apple, etc., will find it harder to make improvements if they
  604.      can no longer adapt the good ideas that others introduce, for fear
  605.      of weakening their own legal positions.  Some users suggest that
  606.      this stagnation may already have started.
  607.  
  608.    * If you use GNU software, you might find it of some concern that
  609.      user interface copyright will make it hard for the Free Software
  610.      Foundation to develop programs compatible with the interfaces that
  611.      you already know.
  612.  
  613.    To protect our freedom from lawsuits like these, a group of
  614. programmers and users have formed a new grass-roots political
  615. organization, the League for Programming Freedom.
  616.  
  617.    The purpose of the League is to oppose new monopolistic practices
  618. such as user-interface copyright and software patents; it calls for a
  619. return to the legal policies of the recent past, in which these
  620. practices were not allowed.  The League is not concerned with free
  621. software as an issue, and not affiliated with the Free Software
  622. Foundation.
  623.  
  624.    The League's membership rolls include John McCarthy, inventor of
  625. Lisp, Marvin Minsky, founder of the Artificial Intelligence lab, Guy L.
  626. Steele, Jr., author of well-known books on Lisp and C, as well as
  627. Richard Stallman, the developer of GNU CC.  Please join and add your
  628. name to the list.  Membership dues in the League are $42 per year for
  629. programmers, managers and professionals; $10.50 for students; $21 for
  630. others.
  631.  
  632.    The League needs both activist members and members who only pay their
  633. dues.
  634.  
  635.    To join, or for more information, phone (617) 243-4091 or write to:
  636.  
  637.      League for Programming Freedom
  638.      1 Kendall Square #143
  639.      P.O. Box 9171
  640.      Cambridge, MA 02139
  641.  
  642.    You can also send electronic mail to `league@prep.ai.mit.edu'.
  643.  
  644.    Here are some suggestions from the League for things you can do to
  645. protect your freedom to write programs:
  646.  
  647.    * Don't buy from Xerox, Lotus or Apple.  Buy from their competitors
  648.      or from the defendants they are suing.
  649.  
  650.    * Don't develop software to work with the systems made by these
  651.      companies.
  652.  
  653.    * Port your existing software to competing systems, so that you
  654.      encourage users to switch.
  655.  
  656.    * Write letters to company presidents to let them know their conduct
  657.      is unacceptable.
  658.  
  659.    * Tell your friends and colleagues about this issue and how it
  660.      threatens to ruin the computer industry.
  661.  
  662.    * Above all, don't work for the look-and-feel plaintiffs, and don't
  663.      accept contracts from them.
  664.  
  665.    * Write to Congress to explain the importance of this issue.
  666.  
  667.           House Subcommittee on Intellectual Property
  668.           2137 Rayburn Bldg
  669.           Washington, DC 20515
  670.           
  671.           Senate Subcommittee on Patents, Trademarks and Copyrights
  672.           United States Senate
  673.           Washington, DC 20510
  674.  
  675.      (These committees have received lots of mail already; let's give
  676.      them even more.)
  677.  
  678.    Express your opinion!  You can make a difference.
  679.  
  680. File: gcc.info,  Node: G++ and GCC,  Next: Invoking GCC,  Prev: Boycott,  Up: Top
  681.  
  682. Compile C, C++, or Objective C
  683. ******************************
  684.  
  685.    The C, C++, and Objective C versions of the compiler are integrated;
  686. the GNU C compiler can compile programs written in C, C++, or Objective
  687. C.
  688.  
  689.    "GCC" is a common shorthand term for the GNU C compiler.  This is
  690. both the most general name for the compiler, and the name used when the
  691. emphasis is on compiling C programs.
  692.  
  693.    When referring to C++ compilation, it is usual to call the compiler
  694. "G++".  Since there is only one compiler, it is also accurate to call
  695. it "GCC" no matter what the language context; however, the term "G++"
  696. is more useful when the emphasis is on compiling C++ programs.
  697.  
  698.    G++ is a *compiler*, not merely a preprocessor.  G++ builds object
  699. code directly from your C++ program source.  There is no intermediate C
  700. version of the program.  (By contrast, for example, some other
  701. implementations use a program that generates a C program from your C++
  702. source.)  Avoiding an intermediate C representation of the program means
  703. that you get better object code, and better debugging information.  The
  704. GNU debugger, GDB, works with this information in the object code to
  705. give you comprehensive C++ source-level editing capabilities (*note C
  706. and C++: (gdb.info)C.).
  707.  
  708. File: gcc.info,  Node: Invoking GCC,  Next: Installation,  Prev: G++ and GCC,  Up: Top
  709.  
  710. GNU CC Command Options
  711. **********************
  712.  
  713.    When you invoke GNU CC, it normally does preprocessing, compilation,
  714. assembly and linking.  The "overall options" allow you to stop this
  715. process at an intermediate stage.  For example, the `-c' option says
  716. not to run the linker.  Then the output consists of object files output
  717. by the assembler.
  718.  
  719.    Other options are passed on to one stage of processing.  Some options
  720. control the preprocessor and others the compiler itself.  Yet other
  721. options control the assembler and linker; most of these are not
  722. documented here, since you rarely need to use any of them.
  723.  
  724.    Most of the command line options that you can use with GNU CC are
  725. useful for C programs; when an option is only useful with another
  726. language (usually C++), the explanation says so explicitly.  If the
  727. description for a particular option does not mention a source language,
  728. you can use that option with all supported languages.
  729.  
  730.    *Note Compiling C++ Programs: Invoking G++, for a summary of special
  731. options for compiling C++ programs.
  732.  
  733.    The `gcc' program accepts options and file names as operands.  Many
  734. options have multiletter names; therefore multiple single-letter options
  735. may *not* be grouped: `-dr' is very different from `-d -r'.
  736.  
  737.    You can mix options and other arguments.  For the most part, the
  738. order you use doesn't matter.  Order does matter when you use several
  739. options of the same kind; for example, if you specify `-L' more than
  740. once, the directories are searched in the order specified.
  741.  
  742.    Many options have long names starting with `-f' or with `-W'--for
  743. example, `-fforce-mem', `-fstrength-reduce', `-Wformat' and so on.
  744. Most of these have both positive and negative forms; the negative form
  745. of `-ffoo' would be `-fno-foo'.  This manual documents only one of
  746. these two forms, whichever one is not the default.
  747.  
  748. * Menu:
  749.  
  750. * Option Summary::    Brief list of all options, without explanations.
  751. * Overall Options::     Controlling the kind of output:
  752.                         an executable, object files, assembler files,
  753.                         or preprocessed source.
  754. * Invoking G++::    Compiling C++ programs.
  755. * C Dialect Options::   Controlling the variant of C language compiled.
  756. * C++ Dialect Options:: Variations on C++.
  757. * Warning Options::     How picky should the compiler be?
  758. * Debugging Options::   Symbol tables, measurements, and debugging dumps.
  759. * Optimize Options::    How much optimization?
  760. * Preprocessor Options:: Controlling header files and macro definitions.
  761.                          Also, getting dependency information for Make.
  762. * Assembler Options::   Passing options to the assembler.
  763. * Link Options::        Specifying libraries and so on.
  764. * Directory Options::   Where to find header files and libraries.
  765.                         Where to find the compiler executable files.
  766. * Target Options::      Running a cross-compiler, or an old version of GNU CC.
  767. * Submodel Options::    Specifying minor hardware or convention variations,
  768.                         such as 68010 vs 68020.
  769. * Code Gen Options::    Specifying conventions for function calls, data layout
  770.                         and register usage.
  771. * Environment Variables:: Env vars that affect GNU CC.
  772. * Running Protoize::    Automatically adding or removing function prototypes.
  773.  
  774. File: gcc.info,  Node: Option Summary,  Next: Overall Options,  Up: Invoking GCC
  775.  
  776. Option Summary
  777. ==============
  778.  
  779.    Here is a summary of all the options, grouped by type.  Explanations
  780. are in the following sections.
  781.  
  782. *Overall Options*
  783.      *Note Options Controlling the Kind of Output: Overall Options.
  784.           -c  -S  -E  -o FILE  -pipe  -v  -x LANGUAGE
  785.  
  786. *C Language Options*
  787.      *Note Options Controlling C Dialect: C Dialect Options.
  788.           -ansi  -fcond-mismatch  -fno-asm  -fno-builtin
  789.           -fsigned-bitfields  -fsigned-char
  790.           -funsigned-bitfields  -funsigned-char  -fwritable-strings
  791.           -traditional  -traditional-cpp  -trigraphs
  792.  
  793. *C++ Language Options*
  794.      *Note Options Controlling C++ Dialect: C++ Dialect Options.
  795.           -fall-virtual  -fdollars-in-identifiers
  796.           -felide-constructors  -fenum-int-equiv
  797.           -fexternal-templates  -fmemoize-lookups
  798.           -fno-strict-prototype  -fnonnull-objects
  799.           -fthis-is-variable  -nostdinc++
  800.  
  801. *Warning Options*
  802.      *Note Options to Request or Suppress Warnings: Warning Options.
  803.           -fsyntax-only  -pedantic  -pedantic-errors
  804.           -w  -W  -Wall  -Waggregate-return  -Wcast-align
  805.           -Wcast-qual  -Wchar-subscript  -Wcomment  -Wconversion
  806.           -Wenum-clash  -Werror  -Wformat  -Wid-clash-LEN
  807.           -Wimplicit  -Wimport  -Winline  -Wmissing-prototypes
  808.           -Wnested-externs  -Woverloaded-virtual  -Wparentheses
  809.           -Wpointer-arith  -Wredundant-decls  -Wreturn-type
  810.           -Wshadow  -Wstrict-prototypes  -Wswitch
  811.           -Wtemplate-debugging  -Wtraditional  -Wtrigraphs
  812.           -Wuninitialized  -Wunused  -Wwrite-strings
  813.  
  814. *Debugging Options*
  815.      *Note Options for Debugging Your Program or GCC: Debugging Options.
  816.           -a  -dLETTERS  -fpretend-float
  817.           -g  -gLEVEL -ggdb  -gdwarf -gdwarf+
  818.           -gstabs  -gstabs+  -gcoff -gxcoff  -gxcoff+
  819.           -p  -pg  -save-temps  -print-libgcc-file-name
  820.  
  821. *Optimization Options*
  822.      *Note Options that Control Optimization: Optimize Options.
  823.           -fcaller-saves  -fcse-follow-jumps  -fcse-skip-blocks
  824.           -fdelayed-branch   -fexpensive-optimizations
  825.           -ffast-math  -ffloat-store  -fforce-addr  -fforce-mem
  826.           -finline-functions  -fkeep-inline-functions
  827.           -fno-default-inline  -fno-defer-pop  -fno-function-cse
  828.           -fno-inline  -fno-peephole  -fomit-frame-pointer
  829.           -frerun-cse-after-loop  -fschedule-insns
  830.           -fschedule-insns2  -fstrength-reduce  -fthread-jumps
  831.           -funroll-all-loops  -funroll-loops
  832.           -O  -O2
  833.  
  834. *Preprocessor Options*
  835.      *Note Options Controlling the Preprocessor: Preprocessor Options.
  836.           -AASSERTION  -C  -dD  -dM  -dN
  837.           -DMACRO[=DEFN]  -E  -H
  838.           -idirafter DIR
  839.           -include FILE  -imacros FILE
  840.           -iprefix FILE  -iwithprefix DIR
  841.           -iwithprefixbefore DIR
  842.           -M  -MD  -MM  -MMD  -nostdinc  -P  -trigraphs  -UMACRO
  843.  
  844. *Assembler Option*
  845.      *Note Passing Options to the Assembler: Assembler Options.
  846.           -Wa,OPTION
  847.  
  848. *Linker Options*
  849.      *Note Options for Linking: Link Options.
  850.           OBJECT-FILE-NAME
  851.           -lLIBRARY  -nostartfiles  -nostdlib
  852.           -static  -shared  -symbolic
  853.           -Wl,OPTION  -Xlinker OPTION
  854.           -u SYMBOL
  855.  
  856. *Directory Options*
  857.      *Note Options for Directory Search: Directory Options.
  858.           -BPREFIX  -IDIR  -I-  -LDIR
  859.  
  860. *Target Options*
  861.      *Note Target Options::.
  862.           -b MACHINE  -V VERSION
  863.  
  864. *Machine Dependent Options*
  865.      *Note Hardware Models and Configurations: Submodel Options.
  866.           *M680x0 Options*
  867.           -m68000  -m68020  -m68020-40  -m68030  -m68040  -m68881
  868.           -mbitfield  -mc68000  -mc68020  -mfpa  -mnobitfield
  869.           -mrtd  -mshort  -msoft-float
  870.           
  871.           *VAX Options*
  872.           -mg  -mgnu  -munix
  873.           
  874.           *SPARC Options*
  875.           -mepilogue  -mfpu  -mhard-float
  876.           -mno-fpu  -mno-epilogue  -msoft-float
  877.           -msparclite  -mv8
  878.           
  879.           *Convex Options*
  880.           -mc1  -mc2  -mc32  -mc34  -mc38
  881.           -margcount  -mnoargcount
  882.           -mlong32  -mlong64
  883.           -mbolatile-cache  -mvolatile-nocache
  884.           
  885.           *AMD29K Options*
  886.           -m29000  -m29050  -mbw  -mdw  -mkernel-registers
  887.           -mlarge  -mnbw  -mnodw  -mnormal  -msmall  -mstack-check
  888.           -muser-registers
  889.           
  890.           *M88K Options*
  891.           -m88000  -m88100  -m88110  -mbig-pic
  892.           -mcheck-zero-division  -mhandle-large-shift
  893.           -midentify-revision  -mno-check-zero-division
  894.           -mno-ocs-debug-info  -mno-ocs-frame-position
  895.           -mno-optimize-arg-area  -mno-serialize-volatile
  896.           -mno-underscores  -mocs-debug-info
  897.           -mocs-frame-position  -moptimize-arg-area
  898.           -mserialize-volatile  -mshort-data-NUM  -msvr3
  899.           -msvr4  -mtrap-large-shift  -muse-div-instruction
  900.           -mversion-03.00  -mwarn-passed-structs
  901.           
  902.           *RS/6000 Options and PowerPC*
  903.           -mcpu=CPU TYPE
  904.           -mpower -mno-power -mpower2 -pno-power2
  905.           -mpowerpc -mno-powerpc -mpowerpcsqr -mno-powerpcsqr
  906.           -mpowerpc64 -mno-powerpc64
  907.           -mnew-mnemonics -mno-new-mnemonics
  908.           -mnormal-toc   -mminimal-toc  -mno-fop-in-toc
  909.           
  910.           *RT Options*
  911.           -mcall-lib-mul  -mfp-arg-in-fpregs  -mfp-arg-in-gregs
  912.           -mfull-fp-blocks  -mhc-struct-return  -min-line-mul
  913.           -mminimum-fp-blocks  -mnohc-struct-return
  914.           
  915.           *MIPS Options*
  916.           -mcpu=CPU  TYPE  -mips2  -mips3  -mint64
  917.           -mlong64  -mlonglong128  -mmips-as  -mgas  -mrnames
  918.           -mno-rnames  -mgpopt  -mno-gpopt  -mstats  -mno-stats
  919.           -mmemcpy  -mno-memcpy  -mno-mips-tfile  -mmips-tfile
  920.           -msoft-float  -mhard-float  -mabicalls  -mno-abicalls
  921.           -mhalf-pic  -mno-half-pic -mlong-calls -mno-long-calls
  922.           -G  NUM  -nocpp
  923.           
  924.           *i386 Options*
  925.           -m486  -mno-486  -msoft-float  -msvr3-shlib  -mieee-fp
  926.           -mno-fp-ret-in-387
  927.           
  928.           *HPPA Options*
  929.           -mpa-risc-1-0
  930.           -mpa-risc-1-1
  931.           -mlong-calls
  932.           -mdisable-fpregs
  933.           -mdisable-indexing
  934.           -mtrailing-colon
  935.           
  936.           *Intel 960 Options*
  937.           -mCPU TYPE
  938.           -mnumerics  -msoft-float
  939.           -mcode-align  -mno-code-align
  940.           -mleaf-procedures  -mno-leaf-procedures
  941.           -mtail-call  -mno-tail-call
  942.           -mcomplex-addr  -mno-complex-addr
  943.           -mclean-linkage  -mno-clean-linkage
  944.           -mic-compat  -mic2.0-compat  -mic3.0-compat
  945.           -masm-compat  -mintel-asm
  946.           -mstrict-align  -mno-strict-align
  947.           -mold-align  -mno-old-align
  948.           
  949.           *DEC Alpha Options*
  950.           -mfp-regs  -mno-fp-regs  -mno-soft-float
  951.           -msoft-float
  952.           
  953.           *Clipper Options*
  954.           -mc300 -mc400
  955.           
  956.           *System V Options*
  957.           -G  -Qy  -Qn  -YP,PATHS  -Ym,DIR
  958.  
  959. *Code Generation Options*
  960.      *Note Options for Code Generation Conventions: Code Gen Options.
  961.           -fcall-saved-REG  -fcall-used-REG
  962.           -ffixed-REG  -finhibit-size-directive
  963.           -fno-common  -fno-ident
  964.           -fno-gnu-linker  -fpcc-struct-return  -fpic  -fPIC
  965.           -freg-struct-return  -fshared-data  -fshort-enums
  966.           -fshort-double  -fvolatile  -fvolatile-global
  967.           -fverbose-asm
  968.  
  969. * Menu:
  970.  
  971. * Overall Options::     Controlling the kind of output:
  972.                         an executable, object files, assembler files,
  973.                         or preprocessed source.
  974. * C Dialect Options::   Controlling the variant of C language compiled.
  975. * C++ Dialect Options:: Variations on C++.
  976. * Warning Options::     How picky should the compiler be?
  977. * Debugging Options::   Symbol tables, measurements, and debugging dumps.
  978. * Optimize Options::    How much optimization?
  979. * Preprocessor Options:: Controlling header files and macro definitions.
  980.                          Also, getting dependency information for Make.
  981. * Assembler Options::   Passing options to the assembler.
  982. * Link Options::        Specifying libraries and so on.
  983. * Directory Options::   Where to find header files and libraries.
  984.                         Where to find the compiler executable files.
  985. * Target Options::      Running a cross-compiler, or an old version of GNU CC.
  986.  
  987. File: gcc.info,  Node: Overall Options,  Next: Invoking G++,  Prev: Option Summary,  Up: Invoking GCC
  988.  
  989. Options Controlling the Kind of Output
  990. ======================================
  991.  
  992.    Compilation can involve up to four stages: preprocessing, compilation
  993. proper, assembly and linking, always in that order.  The first three
  994. stages apply to an individual source file, and end by producing an
  995. object file; linking combines all the object files (those newly
  996. compiled, and those specified as input) into an executable file.
  997.  
  998.    For any given input file, the file name suffix determines what kind
  999. of compilation is done:
  1000.  
  1001. `FILE.c'
  1002.      C source code which must be preprocessed.
  1003.  
  1004. `FILE.i'
  1005.      C source code which should not be preprocessed.
  1006.  
  1007. `FILE.ii'
  1008.      C++ source code which should not be preprocessed.
  1009.  
  1010. `FILE.m'
  1011.      Objective-C source code.  Note that you must link with the library
  1012.      `libobjc.a' to make an Objective-C program work.
  1013.  
  1014. `FILE.h'
  1015.      C header file (not to be compiled or linked).
  1016.  
  1017. `FILE.cc'
  1018. `FILE.cxx'
  1019. `FILE.C'
  1020.      C++ source code which must be preprocessed.  Note that in `.cxx',
  1021.      the last two letters must both be literally `x'.  Likewise, `.C'
  1022.      refers to a literal capital C.
  1023.  
  1024. `FILE.s'
  1025.      Assembler code.
  1026.  
  1027. `FILE.S'
  1028.      Assembler code which must be preprocessed.
  1029.  
  1030. `OTHER'
  1031.      An object file to be fed straight into linking.  Any file name
  1032.      with no recognized suffix is treated this way.
  1033.  
  1034.    You can specify the input language explicitly with the `-x' option:
  1035.  
  1036. `-x LANGUAGE'
  1037.      Specify explicitly the LANGUAGE for the following input files
  1038.      (rather than letting the compiler choose a default based on the
  1039.      file name suffix).  This option applies to all following input
  1040.      files until the next `-x' option.  Possible values for LANGUAGE
  1041.      are:
  1042.           c  objective-c  c++
  1043.           c-header  cpp-output  c++-cpp-output
  1044.           assembler  assembler-with-cpp
  1045.  
  1046. `-x none'
  1047.      Turn off any specification of a language, so that subsequent files
  1048.      are handled according to their file name suffixes (as they are if
  1049.      `-x' has not been used at all).
  1050.  
  1051.    If you only want some of the stages of compilation, you can use `-x'
  1052. (or filename suffixes) to tell `gcc' where to start, and one of the
  1053. options `-c', `-S', or `-E' to say where `gcc' is to stop.  Note that
  1054. some combinations (for example, `-x cpp-output -E' instruct `gcc' to do
  1055. nothing at all.
  1056.  
  1057. `-c'
  1058.      Compile or assemble the source files, but do not link.  The linking
  1059.      stage simply is not done.  The ultimate output is in the form of an
  1060.      object file for each source file.
  1061.  
  1062.      By default, the object file name for a source file is made by
  1063.      replacing the suffix `.c', `.i', `.s', etc., with `.o'.
  1064.  
  1065.      Unrecognized input files, not requiring compilation or assembly,
  1066.      are ignored.
  1067.  
  1068. `-S'
  1069.      Stop after the stage of compilation proper; do not assemble.  The
  1070.      output is in the form of an assembler code file for each
  1071.      non-assembler input file specified.
  1072.  
  1073.      By default, the assembler file name for a source file is made by
  1074.      replacing the suffix `.c', `.i', etc., with `.s'.
  1075.  
  1076.      Input files that don't require compilation are ignored.
  1077.  
  1078. `-E'
  1079.      Stop after the preprocessing stage; do not run the compiler
  1080.      proper.  The output is in the form of preprocessed source code,
  1081.      which is sent to the standard output.
  1082.  
  1083.      Input files which don't require preprocessing are ignored.
  1084.  
  1085. `-o FILE'
  1086.      Place output in file FILE.  This applies regardless to whatever
  1087.      sort of output is being produced, whether it be an executable file,
  1088.      an object file, an assembler file or preprocessed C code.
  1089.  
  1090.      Since only one output file can be specified, it does not make
  1091.      sense to use `-o' when compiling more than one input file, unless
  1092.      you are producing an executable file as output.
  1093.  
  1094.      If `-o' is not specified, the default is to put an executable file
  1095.      in `a.out', the object file for `SOURCE.SUFFIX' in `SOURCE.o', its
  1096.      assembler file in `SOURCE.s', and all preprocessed C source on
  1097.      standard output.
  1098.  
  1099. `-v'
  1100.      Print (on standard error output) the commands executed to run the
  1101.      stages of compilation.  Also print the version number of the
  1102.      compiler driver program and of the preprocessor and the compiler
  1103.      proper.
  1104.  
  1105. `-pipe'
  1106.      Use pipes rather than temporary files for communication between the
  1107.      various stages of compilation.  This fails to work on some systems
  1108.      where the assembler is unable to read from a pipe; but the GNU
  1109.      assembler has no trouble.
  1110.  
  1111.